package com.computercourse.framework.exception;

import com.computercourse.framework.model.response.ResultCode;

/**
 * @author Feng.Yuan
 * @description
 * @date 2020/1/28 10:24 下午
 * @return
 */
public class ExceptionCast {

    public static void cast(ResultCode resultCode) {
        throw new CustomException(resultCode);
    }
}
